import React from "react";
import { Button, Divider } from "antd-mobile";
import "./css/App.scss";
import { useNavigate } from "react-router-dom";
/**
 * 用户列表
 */
function UserList() {
  const navigate = useNavigate();
  const handleClick = () => {
    navigate("/");
  };

  const ret = (
    <div>
      <Button block color="primary" size="large">
        Block Button
      </Button>
      <Divider>默认内容在中间</Divider>
      <Divider contentPosition="left">左侧内容</Divider>
      <Divider contentPosition="right">右侧内容</Divider>
    </div>
  );
  return ret;
}

export default UserList;
